#ifndef LOGINWINDOW_H
#define LOGINWINDOW_H

#include <QWidget>
#include <QPushButton>
#include <QFormLayout>
#include <QLabel>
#include <QLayout>
#include <QPalette>
#include <QTextEdit>
#include <QLineEdit>
#include <QFile>

class LoginWindow : public QWidget
{
    Q_OBJECT
public:
    explicit LoginWindow(QWidget *parent = nullptr);

    void initLoginWindow();

    QVBoxLayout *mainLayout;
    QVBoxLayout *rightLayout;
    QVBoxLayout *modifyLayout;
    QHBoxLayout *leftLayout;
    QHBoxLayout *loginLayout;
    QHBoxLayout *smallLayout;
    QFormLayout *formLayout;

    QTextEdit *edit;
    QLabel *label;
    QLineEdit *nameLineEdit;
    QLineEdit *passwdLineEdit;
    QPushButton *pushButton;
    QPushButton *btn1;
    QPushButton *btn2;
    QPushButton *btn3;
    QPushButton *modifyName;
    QPushButton *modifyPwd;
    QPixmap img;
    
signals:

public slots:
    void pushButton_clicked();
    void saveUserInfo();
};

#endif // LOGINWINDOW_H
